<?php
if(!isset($_COOKIE["UID"]) || $_COOKIE["UID"]=="")
{
   header("Location:login.php");
}

?>
<table width="800" height="493" border="1" align="center">
  <tr>
    <th width="150" scope="col" valign="top"><div align="left">
      <p><a href=profile.php target=inner>My Profile</a></p>
      <p><a href=newproject.php target=inner>New Project</a></p>
      <p><a href=myproject.php target=inner>My Projects</a></p>
      <p><a href=search.php target=inner>Search Projects</a></p>
      <p><a href=login.php?act=logout>Log Out</a></p>
    </div></th>
    <th width=650><iframe height=100% width=100% id=inner name=inner src="myproject.php"></iframe></th>
  </tr>
</table>
